const mongose=require("mongoose")
const Schema=mongose.Schema
//限制类型
const UserType={
    username:String,
    password:String,
    age:Number
}

//模型user将会对应users集合
const UserModel=mongose.model("user",new Schema(UserType))


module.exports=UserModel
